'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function SubscribeMultipleEvents( _ ByVal client As IEasyAEClient, _ ByVal eventsSubscriptionArgumentsArray() As AEEventsSubscriptionArguments, _ ByVal callback As EasyAENotificationEventHandler _ ) As Integer()
'Usage
Dim client As IEasyAEClient Dim eventsSubscriptionArgumentsArray() As AEEventsSubscriptionArguments Dim callback As EasyAENotificationEventHandler Dim value() As Integer value = IEasyAEClientExtension2.SubscribeMultipleEvents(client, eventsSubscriptionArgumentsArray, callback)
[Extension()] [NotNull()] public static int[] SubscribeMultipleEvents( IEasyAEClient client, AEEventsSubscriptionArguments[] eventsSubscriptionArgumentsArray, EasyAENotificationEventHandler callback )
[Extension()] [NotNull()] public: static array<int>^ SubscribeMultipleEvents( IEasyAEClient^ client, array<AEEventsSubscriptionArguments^>^ eventsSubscriptionArgumentsArray, EasyAENotificationEventHandler^ callback )
Parameters
- client
- The client object that will perform the operation.
This is typically the OpcLabs.EasyOpc.AlarmsAndEvents.EasyAEClient object.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - eventsSubscriptionArgumentsArray
- Array of arguments, one element per each OPC events specification involved in the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).The individual elements of the parameter value cannot be
null
(Nothing
in Visual Basic). - callback
- A callback method to be invoked for each OPC event.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).